Removing [nid:n] in nodereference autocomplete

Posted by AK on Stack Overflow See other posts from Stack Overflow or by AK
Published on 2009-10-04T05:56:51Z Indexed on 2010/05/28 21:12 UTC
Read the original article Hit count: 139

Filed under:
|

Using the autocomplete field for a cck nodereference always displays the node id as a cryptic bracketed extension:

Page Title [nid:23]

I understand that this ensures that selections are unique in case nodes have the same title, but obviously this is a nasty thing to expose to the user.

Has anyone had any success in removing these brackets, or adding a different unique identifier?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about cck